package com.example.zz.example.storage;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;

import com.example.zz.example.ActivityUtils;
import com.example.zz.example.MainActivity;
import com.example.zz.example.R;
import com.zz.fileoperatelib.FileOperateUtil;
import com.zz.fileoperatelib.filemediastore.MediaStoreActivity;
import com.zz.fileoperatelib.loadmanager.LoaderActivity;

public class FileStorageTestActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_file_storage_test);
    }

    public void createDir(View view) {

    }

    public void createImg(View view) {
        FileOperateUtil.getInstance().insertImage(FileStorageTestActivity.this);
    }

    public void queryImg(View view) {

    }

    public void updateImg(View view) {

    }

    public void deleteImg(View view) {

    }

    public void loadmanager(View view) {
        ActivityUtils.getInstance().goToActivity(FileStorageTestActivity.this, LoaderActivity.class);
    }

    public void mediaStoreTest(View view) {
        ActivityUtils.getInstance().goToActivity(FileStorageTestActivity.this, MediaStoreActivity.class);
    }
}